<template>
	<el-form :model="models" :rules="rules" ref="qmGenForm" label-width="100px" class="qm-gen-form">
				<el-row>
			<el-col :span="12">
				<el-form-item label="所属应用：" prop="model.appId">
					<el-input v-model="models.model.appId"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="参数编码：" prop="model.code">
					<el-input v-model="models.model.code"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="参数名称：" prop="model.name">
					<el-input v-model="models.model.name"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="参数值：" prop="model.value">
					<el-input v-model="models.model.value"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="是否公开属性：" prop="model.isPublic">
					<el-input v-model="models.model.isPublic"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="备注：" prop="model.memo">
					<el-input v-model="models.model.memo"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="扩展字段1：" prop="model.reserve1">
					<el-input v-model="models.model.reserve1"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="扩展字段2：" prop="model.reserve2">
					<el-input v-model="models.model.reserve2"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="扩展字段3：" prop="model.reserve3">
					<el-input v-model="models.model.reserve3"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
	</el-form>
</template>

<script>
export default {
	name: "mobile-mobileAppParameter-create",
	props: {
		models: Object,
		controlData: Object,
		pageAction: String
	},
	data() {
		return {
			rules: {
				"model.appId": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.code": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.name": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.value": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.isPublic": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.memo": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.reserve1": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.reserve2": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.reserve3": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
			}
		};
	},
	methods: {},
};
</script>

<style scoped>
</style>